Skip to main content
100%

MAKING BARS

✓ Published0🌍 Public
Ggotyou007
Last edited Jan 30, 2020
Created on Jan 22, 2020
Forked from MAKING BARS

This example visualizes the cumulative number of Lego sets produced by Rebrickable from 1949 to 2019, displaying the running total as vertical bars over time. The chart uses an SVG rendering with a time-based x-axis and a linear y-axis. Built with React and D3 v5, the code employs `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` to construct axes, while bars are drawn via `g.selectAll('rect')`. Data is loaded from a CSV file using `dsv`, and the visualization updates each year’s cumulative count.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes