Skip to main content
100%

ICE-6 Bar Graph

✓ Published2🌍 Public
Llibramanju
Last edited Mar 11, 2023
Created on Mar 11, 2023

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 description

A whole smiley face

MIT Licensed

Similar vizzes