Line Plot of BMI vs Age
✓ Published0🌍 Public
RRidhima Saxena
Last edited Nov 27, 2021
Created on Nov 24, 2021
This visualization displays the relationship between age and weight from the CDC GenlHealth dataset, with each data point represented as a circle on a scatterplot. The axes are scaled linearly using `scaleLinear`, with extents calculated via `d3.extent`. Circles are appended to an SVG canvas using `selectAll` and `.join()`, with left and bottom axes generated through `axisLeft` and `axisBottom` functions. The chart fills the browser window, using the full viewport dimensions for width and height. Data loading is handled asynchronously through the `csv` function with a custom row parser that converts string values to numeric types.
AI-generated descriptionThis visualization is a D3 scatterplot of age vs. weight from the CDC Dataset.
MIT Licensed