Skip to main content
100%

Fork of Fork of Pie Chart

✓ Published0🌍 Public
Mmanishcheruku
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Fork of Pie Chart

This visualization presents the basic cost of Netflix subscriptions for the ten most expensive countries, rendered as a pie chart using D3.js version 5 within a React framework. The chart displays each country's cost as a colored arc segment with a legend listing country names and corresponding dollar amounts. The code utilizes D3's `pie`, `arc`, `scaleOrdinal`, and `schemeCategory10` functions to generate the chart and its color scheme, pulling data from a CSV file hosted on GitHub Gist. Mouseover interactions log the cost values to the console.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes