Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task9

Public visualization

Viewing a saved revision (read-only)

977b93337ea345d689dbf2c2076806c8

task9

0 stars1🌍 Public
Vvandanakosuri@my.unt.edu
Last edited Apr 24, 2024
Created on Apr 24, 2024
Forked from Hello VizHub

This visualization displays the frequency distribution of categorical data values ("bad" and "good") using a pie chart, with a legend and axis labels for "Quality" and "Frequency". It builds the chart with d3.pie to compute arc segments, d3.arc for path geometry, and d3.scaleOrdinal for color mapping. The SVG is created via d3.select and appended to a container, with data aggregated using d3.rollup. The source dataset is a simple array of quality attributes, rendered as a static SVG graphic.

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.