Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

barchart

Public visualization

Viewing a saved revision (read-only)

e68b42646291414eba4ecf7e3d4b6053

barchart

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