Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task 9 and 10 question 1

Public visualization

Viewing a saved revision (read-only)

3b2484fd54dd474eab13573b9ac793c2

task 9 and 10 question 1

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

This example shows the top 10 store areas ranked by their total sales as a pie chart. The SVG visualization displays each slice, colored with a scaleOrdinal palette, and labels each slice directly with its sales value. A legend identifies each store area. The code uses D3 v7 to load CSV data, sort it, and create the chart, leveraging d3.pie and d3.arc to generate the slices.

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.