Fork of Fork of Fork of ICE-6 Bar Graph
✓ Published0🌍 Public
This example shows the top 10 Amazon Prime Video Basic plan prices across different states, rendered as a horizontal bar chart using React and D3 v5. It loads CSV data from a GitHub gist and manages the data asynchronously with React’s `useState` and `useEffect` hooks. The chart uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and draws green `<rect>` elements within an SVG. Axis ticks and labels are manually generated via D3’s `ticks()` and array mapping, rather than using `axisLeft` or `axisBottom` helpers.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed