Skip to main content
100%

Task_1_jaynica

✓ Published0🌍 Public
Nnunnajaynica@gmail.com
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from Hello VizHub

This example shows a pie chart of video game genres, with each slice sized by the count of games rated above 8.5, as loaded from a remote CSV file. D3 v6 (loaded via UNPKG) is used to shape the slices with `d3.pie` and `d3.arc` into an SVG, using an ordinal color scale for genre categories. A legend, built with D3's selection and shape primitives, maps each color to its genre label.

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