🌍 Public
Viewing a saved revision (read-only)
e50e3f7f0b4547b1a51b3d6f33e17fca
pie_chart_prevailing_wage_Dataset
This pie chart visualizes the average prevailing wage across the top 10 geographical areas from a CSV dataset, with each slice colored and paired with a legend listing the area name and wage value. The chart uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs to generate and style the SVG segments, while mouseover events log the average wage to the console. The code also sorts the data and renders the first ten entries, with legend labels and values formatted as text.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.