Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of CV: Loading CSV Data

Public visualization

Fork of CV: Loading CSV Data

0 stars0🌍 Public
DDurga Prasad MEDISETTI
Last edited Sep 29, 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

Comments

Sign in to join the discussion.

MIT Licensed