Skip to main content
100%

ICE7_ScatterPlot_HarshaPalacharla

✓ Published2🌍 Public
Nnagasuryaharsha999@gmail.com
Last edited Apr 2, 2025
Created on Apr 1, 2025
Forked from ice 7 pie chart

This scatter plot visualizes the relationship between cholesterol levels and weight using a reusable D3 chart function. It renders teal circles for each data point, with linear scales mapping cholesterol (mg/dL) on the x-axis and weight (kg) on the y-axis, including axes with labels. The code uses D3 v7 with `d3.csv` to load health data from a GitHub gist, filters out missing cholesterol values, and applies `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` to build the SVG-based chart. The chart is designed as a configurable function with getter-setter methods for width, height, and value accessors.

AI-generated description
MIT Licensed

Similar vizzes