Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question 1:Pie Chart

Public visualization

Question 1:Pie Chart

0 stars1🌍 Public
Ttallavijayalakshmi0710@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

This example displays a simple pie chart visualization built with D3.js. The chart is rendered using SVG paths generated from data, with slices sized proportionally to their values. The code demonstrates loading D3 via UNPKG, importing the `select` function from the `d3` module, and using it to manipulate the DOM. A custom ES6 module (`myMessage.js`) provides the text content, which is set in the HTML element. The visualization is minimal, focusing on core D3 functionality and module imports rather than complex chart features.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed