Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Fork of Pie Chart

0 stars0🌍 Public
Vvryvarma5577@gmail.com
Last edited Mar 28, 2023
Created on Mar 28, 2023
Forked from Pie Chart

This example displays a pie chart of the basic cost of Netflix for the top eight dog breeds by maximum male weight, using data from a CSV file hosted on GitHub. The chart is rendered as SVG in a React app, with D3 v5 APIs including `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.csv`. A legend lists each breed with a color swatch and its associated dollar value, while mouseover events log the breed name to the console. The visualization uses `d3.schemeCategory10` for color encoding.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed