Skip to main content
100%

Fork of Fork of Task9&10 Question2

✓ Published0🌍 Public
MMallikarjun Narra
Last edited Apr 28, 2024
Created on Apr 28, 2024

This example shows a genre distribution from a CSV dataset as a single steelblue area chart, with genres on the x-axis and aggregated counts on the y-axis. The code uses D3 v7 with `d3.csv` to load remote data, `d3.rollup` to sum counts per genre, and `d3.area` with `d3.scaleBand` and `d3.scaleLinear` to generate the SVG path. It renders axes via `d3.axisBottom` and `d3.axisLeft`, and includes labeled axes and a title.

AI-generated description

Pie Chart

MIT Licensed

Similar vizzes