Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

pie chart (pestel classification)

Public visualization

pie chart (pestel classification)

0 stars0🌍 Public
Gguitmonk-1290
Last edited May 10, 2023
Created on May 10, 2023
Forked from Pie Chart

This pie chart visualizes the distribution of PESTEL classifications (Economic, Environmental, Healthcare, Industries, Political, Social, Technological) for articles related to the topic "oil," using data from a GitHub Gist JSON file. The visualization uses d3.js v5 APIs including `pie`, `arc`, `scaleOrdinal`, and `schemeCategory10` to generate the chart segments and legend within an SVG element. It counts occurrences of each PESTEL category in the loaded data and renders interactive segments with hover effects that log the associated value to the console.

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