Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment1-question1

Public visualization

Assignment1-question1

0 stars0🌍 Public
PPavanKumarRacharla@my.unt.edu
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This visualization presents the distribution of genres as a pie chart, using data loaded from a CSV file. The chart displays each genre as a colored slice with corresponding values, and includes a legend and value labels. Built with D3.js v7, it uses `d3.select`, `d3.scaleOrdinal`, `d3.pie`, and `d3.arc` to construct the SVG. The code defines a reusable pie chart function and imports the data via `d3.csv`.

AI-generated description

A demonstration of pie chart

Comments

Sign in to join the discussion.

MIT Licensed