Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Fork of Task9&10 Question2

Public visualization

Fork of Fork of Task9&10 Question2

0 stars0๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed