Skip to main content
100%

ICE - VI (Scatter Plot)

✓ Published0🌍 Public
Mms.himabinduchalla@gmail.com
Last edited Mar 23, 2023
Created on Mar 22, 2023
Forked from HTML Starter

This scatter plot compares medical charges with body mass index, coloring each point by the number of children. The chart uses D3 v5’s `csv` loader to parse the MedicalExpensesPredictors dataset, then maps BMI to the x-axis and charges to the y-axis via `scaleLinear` and `extent`. Points are rendered as SVG circles with `selectAll` and `join`, while `axisLeft` and `axisBottom` create the axes. Labels for both axes and a title are added as SVG text.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes