Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Fork of Pie Chart

0 stars0🌍 Public
CCH SAMPATH
Last edited Mar 30, 2023
Created on Mar 28, 2023
Forked from Pie Chart

This visualization shows the number of houses sold in the United States per year for ten years, displayed as a pie chart with a legend listing each year and its corresponding sales figure. The chart renders using SVG via D3 v5, with the pie layout from `d3.pie` and arcs from `d3.arc`. Colors are assigned using `d3.scaleOrdinal` with `schemeCategory10`. Data is loaded from a CSV file using `d3.csv`, and values are formatted with a custom number formatter that appends "K" for thousands.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed