Skip to main content
100%

Activity 7.2_Question 1

✓ Published1🌍 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
MIT Licensed

Similar vizzes