task3_question3
✓ Published0🌍 Public
This interactive scatter plot visualizes insurance data, plotting age on the x-axis and charges on the y-axis while using different symbols to encode gender. The visualization loads its dataset from a remote CSV file hosted on GitHub and renders it as an SVG canvas. The code leverages D3 v7 APIs including `select`, `csvParse`, `scaleLinear`, `scaleOrdinal`, `symbolsFill`, `axisLeft`, and `axisBottom` to construct the chart, with a custom shape legend displaying gender categories. The plot updates dynamically as new data is fetched and parsed.
AI-generated descriptionMIT Licensed