Skip to main content
100%

barchart

✓ Published0🌍 Public
JJordy S
Last edited Jan 25, 2021
Created on Jan 25, 2021
Forked from HTML Starter

This example visualizes a dataset of parking data as an animated bar chart, revealing how values change over time as new data points are sequentially added. It uses D3 v6 within a React-free environment, rendering to SVG. The code creates a bar chart with axes, using D3's scaleBand and scaleLinear, and animates the chart by replaying the data in expanding slices via setTimeout. The chart fetches its data from a GitHub gist URL and updates the bars’ heights and positions accordingly.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes