Area Chart
✓ Published0🌍 Public
This example displays an area chart depicting temperature variations over time in San Francisco, using data sourced from a CSV file. The visualization employs the Vega-Lite API, registered with Vega and Vega-Tooltip, to render the chart as an SVG. The `markArea` method encodes the timestamp on the x-axis and temperature on the y-axis, with the chart automatically sizing to fit the window. The code customizes the appearance through a configuration object that adjusts axis properties and text styling for improved readability.
AI-generated descriptionStacked Bar Chart using D3 and vega-lite-api
MIT Licensed