Skip to main content
100%

Activity 7_pie chart

✓ Published0🌍 Public
11810vineeth@gmail.com
Last edited Nov 8, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

This pie chart displays the market share of laptop companies, with each slice labeled by company name and percentage. The visualization loads CSV data from a GitHub gist, and uses D3 v5’s `pie` and `arc` generators along with `scaleOrdinal` for colors. SVG rendering includes a legend and axis titles, with text styling applied via CSS. The code imports named functions from the 'd3' module and demonstrates an ES6 module import from `myMessage.js`.

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.
MIT Licensed

Similar vizzes