Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Nnavyasrimeka9@gmail.com
Last edited Mar 29, 2023
Created on Mar 29, 2023
Forked from Pie Chart

This example displays the cost of living for the top 10 countries using a pie chart, with each slice colored and accompanied by a legend listing country names and dollar amounts. The visualization is built with D3 v5 in a React framework, rendering SVG elements via `d3.pie`, `d3.arc`, and `d3.scaleOrdinal`, while loading CSV data from a GitHub gist. Data is sorted and sliced to show only the top 10 values, with hover interactions logging slice data 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