ICE-6 Bar Graph
✓ Published0🌍 Public
This bar graph shows average monthly rent prices for twelve US cities, with city names on the vertical axis and rent amounts on the horizontal axis. The visualization uses React hooks to manage state and fetch CSV data via `d3.csv`, then renders SVG rectangles scaled through `scaleBand` for the y-axis and `scaleLinear` for the x-axis. Grid lines are generated with `xScale.ticks()` and labeled using text elements. The data comes from a gist-hosted salaries CSV file, and the graph updates once the asynchronous data loading completes.
AI-generated descriptionA whole smiley face
MIT Licensed