Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q1_VT

Public visualization

Viewing a saved revision (read-only)

e62c7933ba6f4bfcab95ee7a3c1d35b1

Q1_VT

0 stars0🌍 Public
RRJVENKATESH789@GMAIL.COM
Last edited Apr 20, 2024
Created on Apr 20, 2024
Forked from Hello VizHub

This visualization presents a pie chart classifying grocery items by their total dollar amounts, with each slice labeled and color-coded to a legend. It uses D3 v5’s `pie` and `arc` generators to compute and draw the SVG segments, while `scaleOrdinal` assigns colors. Data is fetched as CSV from a GitHub gist, and values are formatted with `d3.format`.

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.