🌍 Public
Viewing a saved revision (read-only)
610ff1f54ee04a57b8f5ff71e61a2822
hemanth 11727971
This example visualizes the distribution of penguin species from the "penguins_size" dataset as a pie chart. It shows the relative counts of each species, with labels displaying the species name and its percentage share. The visualization is built using D3.js v7, creating an SVG pie chart with slices colored via `d3.scaleOrdinal` and the `d3.schemeCategory10` palette. The chart also includes a legend and title, with data loaded asynchronously from a remote CSV file.
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.