Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity - 7 - Q1

Public visualization

Activity - 7 - Q1

0 stars0🌍 Public
NNitish Thotakura
Last edited Apr 10, 2025
Created on Apr 10, 2025
Forked from Hello VizHub

This pie chart shows the sales figures for a set of books, with each slice labeled by its sales value in crores and accompanied by a color-coded legend. The visualization loads data from a GitHub-hosted CSV file using `d3.csv` and renders the chart with D3 v5's `pie` and `arc` generators. Slice colors are assigned via `d3.scaleOrdinal`, and the final SVG output places the chart and its legend within a 960 by 500 pixel canvas.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed