Fork of Scatter Plot with brushing - Number of deaths by alcohol and drug risk factor per 5 countries.
This scatter plot visualizes customer data, showing age on the x-axis and total revolving balance on the y-axis, with points colored by education level using a categorical color scale. Users can brush horizontally on the chart to zoom into a specific age range, which triggers an animated update of both the x-axis domain and circle positions via transition. The visualization is built with D3 v7, using `d3.brushX`, `d3.scaleLinear`, and `d3.axisBottom`, and renders as SVG with data loaded from a CSV file.
AI-generated descriptionA scatter plot with brushing of [Number of deaths by risk factor]number of deaths by alcohol and drug risk factor per 5 countries. (https://gist.github.com/AlketaG/6d833620f3da9384b1347c47adef99c8).
The total annual number of deaths is measured across all age groups and both sexes.