Viewing a saved revision (read-only)
3a79c9b347414e1ca3a9f9ab4c18e460
CDC Dataset: Exercise vs. Weight
This D3.js scatterplot visualizes the relationship between exercise habits and body weight using CDC survey data, with each semi-transparent circle representing an individual. The x-axis maps binary exercise status (0 or 1), while the y-axis shows weight, though random jitter is added to x-coordinates to reveal data density. The visualization uses d3.csv for data loading, d3.scaleLinear for both axes, and d3.axisLeft/axisBottom for tick marks. Circle opacity is set to 0.1, creating darker regions where many overlapping points cluster, and the SVG canvas fills the entire browser window.
AI-generated descriptionThis visualization is a D3 scatterplot of exercise (0 shows no exercise and 1 shows exercise) vs. weight from the CDC Dataset.