Skip to main content
100%

question1

✓ Published0🌍 Public
Ppavithranamburi24@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024

This example shows the distribution of sepal lengths across iris species using a pie chart, with each species (setosa, versicolor, virginica) colored distinctly and accompanied by a legend and percentage tooltips. It loads the Iris dataset from a GitHub gist via `d3.csv`, parses numeric fields, and uses `d3.pie` and `d3.arc` to generate the chart. The visualization is rendered as an SVG, with colors assigned by species and a title displayed above the chart.

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.
MIT Licensed

Similar vizzes