Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

taak 9 (q1)

Public visualization

Viewing a saved revision (read-only)

5bb50a9fb1aa44deb04a01ceed51d09a

taak 9 (q1)

0 stars0🌍 Public
Rreddyswethuvahana@gmail.com
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from Hello VizHub

This pie chart visualizes the distribution of sepal lengths across iris species, with each segment colored using d3.scaleOrdinal and d3.schemeCategory10. The code loads data from a remote CSV file via d3.csv, then uses d3.pie and d3.arc to generate the SVG paths. A legend built with HTML div elements identifies each species, while text labels annotate the chart title and axis. The visualization employs D3 v7 with a straightforward SVG rendering approach.

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.