Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task 9

Public visualization

Viewing a saved revision (read-only)

166503851e2b40988765b02285f13962

task 9

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

This pie chart visualizes total sales by item category, using data loaded from a remote CSV file. The chart.js library renders the pie on an HTML canvas element, with labels drawn from the category column and values from the sales column. Six distinct color slices represent each category, and a title displays above the chart. The visualization fetches the Walmart dataset asynchronously, parses the CSV text into rows, and constructs the chart once the data is ready.

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.