Fork of Let's make a Bar Graph with D3.js
✓ Published0🌍 Public
This example shows a horizontal bar chart of anime titles ranked by view counts, drawn as SVG rectangles. It loads data from `data.csv` using D3’s `csv` function, then maps views to a linear scale and anime names to a band scale for the y-axis. The code uses D3 v7 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render axes and the bars.
AI-generated descriptionMIT Licensed