🌍 Public
Viewing a saved revision (read-only)
0cb1d7e6e3ee484c92d995e1b0181096
Fork of Fork of Fork of ICE7 PIE chart for vini
A pie chart displays salary per hour for employees, with each slice colored and labeled with its dollar value, alongside a legend pairing hourly rates with time categories. The visualization uses D3 v5 APIs including `d3.csv`, `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to load data from a CSV file hosted on GitHub, compute arc paths, and assign colors. Text labels are positioned using the arc centroid method, and the chart is rendered as an SVG within a React-based HTML page.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.