Skip to main content
100%

ICE-7 Pie chart Creation

✓ Published0🌍 Public
NNavaneeth-Ragi
Last edited Mar 12, 2023
Created on Mar 12, 2023

This interactive pie chart visualizes the distribution of salaries across different time categories. Built with D3.js v5 within a React framework, it renders an SVG with colored segments representing salary values, while a legend maps each time category to its corresponding color and salary amount. The implementation uses d3.pie, d3.arc, and d3.scaleOrdinal to generate the chart, with data fetched from a remote CSV file. Text labels are positioned using arc centroids, and the legend is manually constructed with rectangles and text elements.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes