Skip to main content
100%

pie_chart_prevailing_wage_Dataset

✓ Published1🌍 Public
Bbmurill2019
Last edited Mar 30, 2023
Created on Mar 29, 2023
Forked from Pie Chart

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 description

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

See also React Starter.

MIT Licensed

Similar vizzes