Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 9_t_2

Public visualization

Viewing a saved revision (read-only)

d38640b745af4e52a14c81eb7c4c6b91

Task 9_t_2

0 stars0🌍 Public
HHari Kiran
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from Task 9_t

This example shows a reusable scatter plot built as a custom D3 function. It renders circles positioned by scaled x and y values with labeled axes, and appends an additional "TEXT" label to the x-axis. The scatter plot module exposes setters for width, height, data, value accessors, margins, and radius. Using D3’s scaleLinear, extent, axisLeft, and axisBottom, the chart reads data from a CSV file and draws SVG elements. The example demonstrates a modular, configurable chart pattern.

AI-generated description

A demonstration of reusable scatter plot.