Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE - 7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

a4954b69e4714f5d8fb668b53cecc949

ICE - 7 Pie Chart

0 stars0🌍 Public
Mmboinapally17
Last edited Mar 22, 2023
Created on Mar 22, 2023
Forked from HTML Starter

This example shows base salaries across different U.S. government departments using an interactive pie chart with a legend. Each slice represents a department, colored by salary value, with salary amounts displayed in thousands next to colored legend markers. The visualization loads CSV data from a GitHub gist and uses d3.pie, d3.arc(), and d3.scaleOrdinal() to generate SVG paths and legends. The chart is built with React and D3 v5, rendering entirely as SVG elements.

AI-generated description

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

See also React Starter.