Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of CV: Loading CSV Data

Public visualization

Viewing a saved revision (read-only)

5355267e6ab84f679c8823ddc2a55538

Fork of CV: Loading CSV Data

0 stars0🌍 Public
DDurga Prasad MEDISETTI
Last edited Oct 31, 2026
Created on Sep 29, 2026

This example demonstrates an interactive scatter plot of five data points loaded from a CSV file, rendered as circles scaled to the container size. Clicking a circle selects it, turning its fill from black to white with a black stroke. The code uses React with hooks for state management and container dimensions, while D3 v7 handles CSV parsing via `d3.csv` and SVG rendering through `select`, `join`, and `scaleLinear` for positional mapping.

AI-generated description