Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart

Public visualization

Viewing a saved revision (read-only)

0efdbaa5f8ff436094883fcc9879e536

Area Chart

0 stars0🌍 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