Skip to main content
100%

Task 9_t

✓ Published1🌍 Public
HHari Kiran
Last edited Apr 22, 2024
Created on Apr 21, 2024

This example presents a reusable scatter plot built with a custom D3 module, though the primary rendered chart in the main script is a pie chart displaying departmental data. The pie chart visualizes categorical values and percentages, with color-coded slices and an accompanying legend. The code uses D3 v6 APIs such as `d3.pie`, `d3.arc`, and `d3.csv` to load and transform data from a GitHub-hosted CSV file. The scatter plot module demonstrates a separate, configurable chart function with `scaleLinear`, `axisLeft`, and `axisBottom` for potential reuse, though it is not invoked in the index file.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes