Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Reusable Scatter Plot

Public visualization

Fork of Fork of Reusable Scatter Plot

0 stars1🌍 Public
Bbhargavinalamothu@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

This visualization presents a scatter plot that examines the relationship between a passenger's age and ticket price. The plot uses D3.js v6 to render the data as individual circles on an SVG canvas, with axes labeled and scaled according to the data's extent. The data is loaded remotely from a GitHub gist and parsed as CSV, with values converted to numeric types for accurate plotting. The code uses D3 API methods including `d3.scaleLinear`, `d3.extent`, and `d3.axisBottom`/`d3.axisLeft` for the coordinate system.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed