Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Firoze_T9_Q1

Public visualization

Viewing a saved revision (read-only)

b487104726864437b4af918387af1e72

Firoze_T9_Q1

0 stars0🌍 Public
Sshaikfiroze186@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024

This example shows the distribution of ice cream flavors by sales as an interactive pie chart. It uses D3.js v7 to fetch a CSV file from a GitHub gist, parse the data, and aggregate flavor counts. The visualization employs `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with a categorical color scheme to render the chart and its legend.

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.