🌍 Public
Viewing a saved revision (read-only)
6a2b317bb79c4a2d9fd3163c9568b7ea
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