Fork of Scatter Plot with Color
✓ Published0🌍 Public
This horizontal bar chart visualizes the population of US cities in millions, with bars sorted in descending order. The chart uses rectangular marks to encode population values through both position along the x-axis and bar length, while color provides a uniform visual style. The visualization is built using React with D3.js v7, specifically leveraging `d3.scaleLinear` for the continuous value axis and `d3.scaleBand` for the categorical city names. Interactive hover effects adjust bar opacity, and data is loaded from an embedded CSV string containing city-population pairs.
AI-generated descriptionMIT Licensed