Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7.2_Question 1

Public visualization

Viewing a saved revision (read-only)

313a0cb0089f4b889dfaca08627b986a

Activity 7.2_Question 1

0 stars1🌍 Public
Sshettisowmya01@gmail.com
Last edited Nov 2, 2024
Created on Nov 2, 2024

This pie chart visualizes the distribution of star luminosity across five defined ranges, from "Very Low (0-0.1)" to "Very High (100+)". It aggregates data from a CSV file of stars, counting how many fall into each luminosity bin, and colors each slice with a corresponding gray-to-yellow ordinal scale. The visualization uses d3.csv for data loading, d3.pie and d3.arc for generating the SVG paths, and d3.scaleOrdinal for color mapping. An interactive HTML legend displaying each range and its count is positioned outside the chart.

AI-generated description