🌍 Public
Viewing a saved revision (read-only)
bc6cb2f93d83462abb60421877ee90b3
DV ICE-6 Bar Graph
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