DV ICE-6 Bar Graph
✓ Published0🌍 Public
This chart displays the average gas prices per gallon for fifteen countries, using horizontal bars sorted by country name. The visualization loads data from a CSV file via `d3.csv`, then maps the price values to bar widths using `d3.scaleLinear` and country names to y-axis positions with `d3.scaleBand`. The React component renders an SVG, with gridlines generated from `xScale.ticks()`, and sticks to a functional, no-frills style without color or labels on the bars themselves.
AI-generated descriptionA whole smiley face
MIT Licensed