Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity9_Question1

Public visualization

Viewing a saved revision (read-only)

47e17e08b1b0467f8cd27c99c6e4cf4d

activity9_Question1

0 stars0🌍 Public
BBindumadhavi
Last edited Apr 27, 2024
Created on Apr 26, 2024
Forked from HTML Starter

This example displays a pie chart of net electricity consumption worldwide from 1980 to 2022, sourced from a CSV file via a GitHub gist. It uses D3 v5 APIs including `pie`, `arc`, `scaleOrdinal`, and `schemeCategory10`. The SVG renders fifteen data slices, with a legend listing years and values formatted with a custom suffix. Data is sorted in descending order before rendering.

AI-generated description

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

See also React Starter.