Skip to main content
100%

Area Chart

✓ Published0🌍 Public
NNikhil Sharma
Last edited Mar 21, 2022
Created on Mar 21, 2022
Forked from Line chart

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 description

Stacked Bar Chart using D3 and vega-lite-api

MIT Licensed

Similar vizzes