Skip to main content
100%

Task 9&10-Q1

✓ Published0🌍 Public
Sshraehithareddy@gmail.com
Last edited Apr 29, 2024
Created on Apr 29, 2024

This example demonstrates a reusable scatter plot built with D3.js v6, rendering data points as SVG circles with linear scales for the x and y axes. It uses `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to map values and draw axes. The code also includes a separate pie chart implementation using `d3.pie` and `d3.arc` with an ordinal color scale and SVG legend, though the scatter plot is the primary focus.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes