🌍 Public
Viewing a saved revision (read-only)
e9913721438046719498df3a633bb6c0
Fork of HTML Starter
A bar chart displays the number of movies per genre from a 100-sample CSV dataset, with genres on the x-axis and counts on the y-axis. The chart is rendered as scalable vector graphics (SVG) using D3.js v7. The code loads the data with d3.csv, aggregates counts via d3.rollup, and constructs scales with d3.scaleBand and d3.scaleLinear, with axes drawn using d3.axisBottom and d3.axisLeft.
AI-generated description