question1
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed