Skip to main content
100%

Man Tuto

✓ Published0🌍 Public
Mmanojapopuri@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Pie Chart

This example shows the distribution of percentages across different social media platforms using a pie chart, with a legend and axis labels identifying the categories and values. The visualization is rendered as an SVG using React and D3 v7, leveraging `d3.select` for DOM selection, `d3.csv` to load data from a GitHub-hosted CSV file, and `d3.pie` with `d3.arc` to compute and draw the pie slices. Percentage labels are placed at each slice’s centroid, and the color scheme uses `d3.scaleOrdinal` with the `schemeCategory10` palette.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes