Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

scatterplot

Public visualization

Viewing a saved revision (read-only)

51989034a6e34ac693484fb61875b00f

scatterplot

0 stars0🌍 Public
Vvishnupriya eupuri
Last edited Mar 28, 2024
Created on Mar 27, 2024

This scatter plot visualizes the relationship between Age and Fare from a CSV dataset, with points colored by Sex. The visualization alternates between two subsets of the data every five seconds, dynamically resizing the SVG to fit the browser window. Built with D3.js, it uses the scatterPlot module and responsive-axes library to generate linear scales, axis labels, and semi-transparent circles. The code loads data via d3.csv, parses numeric fields, and employs setInterval to toggle between the two plot views, demonstrating a simple animated data exploration technique.

AI-generated description

A responsive scatter plot.