Skip to main content
100%

Fork of Let's make a Bar Graph with D3.js

✓ Published0🌍 Public
MManideepChakilam
Last edited Mar 6, 2022
Created on Mar 5, 2022

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 description
MIT Licensed

Similar vizzes