Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q1

Public visualization

Q1

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

A pie chart with legend visualizes the distribution of sepal lengths across iris species from a CSV dataset fetched with d3.csv. The chart uses d3.pie and d3.arc to generate arc segments, with d3.scaleOrdinal and d3.schemeCategory10 applying colors. A legend displays species names alongside colored circles, while text elements label the chart and its x-axis. SVG rendering via D3 v7 structures both the pie and legend, with styling handled by CSS.

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