MAKING BARS
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed