Skip to main content
100%

Task_9&10_question1

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

A pie chart visualizes the distribution of movie genres by the proportion of films rated above 8.5, using data parsed from an inline CSV string with d3.csvParse. Six genres (Documentary, Drama, Comedy, Romance, Animation, Action) are encoded as colored arcs generated by d3.pie and d3.arc, with each slice labeled by its genre name. A legend built with SVG rect and text elements maps the ordinal color scale to genres, while the chart renders as static SVG within a styled container.

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