Skip to main content
100%

Fork of ICE-6 Scatter Plot

✓ Published0🌍 Public
TTekmal-Bhavana
Last edited Mar 23, 2023
Created on Mar 22, 2023
Forked from ICE-6 Scatter Plot

This example presents a scatter plot of an insurance dataset, visualizing the relationship between patient height and age while encoding weight and income through non-standard circle radius properties (`rx` and `ry`), which distorts the marks into ellipses. The code colors each point by gender (red for female, green for male) and builds the SVG chart using D3 v5 APIs such as `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`. Data is loaded from a GitHub-hosted CSV file, with axes labeled “Charges” and “bmi” despite the actual mapped fields being age and height.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript. Using Insurance dataset

MIT Licensed

Similar vizzes