🌍 Public
Viewing a saved revision (read-only)
c7c3a799c9574df68ca2c1af69cc6fc6
ICE-6 Bar Graph
This example displays the average carbon emissions of cars by model year as a horizontal bar graph. It uses React hooks to load and filter CSV data from a GitHub gist, then renders SVG rectangles scaled with `d3.scaleBand` and `d3.scaleLinear`. The chart includes custom axes via `d3.axisBottom`-style tick rendering, with red gridlines and a title above the visualization.
AI-generated descriptionA whole smiley face