Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Fork of Pie Chart

Public visualization

Fork of Fork of Pie Chart

0 stars0๐ŸŒ Public
NNikitha123171
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from Fork of Pie Chart

This pie chart visualizes the basic cost of Netflix subscriptions across ten countries, using a dataset loaded from a CSV file. The chart renders as an SVG with color-coded segments and a legend listing each country alongside its corresponding price. Built with React and D3 v5, it uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the slices and colors, while mouseover events log data to the console. The legend displays country names and values formatted with a custom number format.

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