Task8_Question3
✓ Published0🌍 Public
This example shows a scatter plot of Dengue fever data, with thrombocytes on the x-axis and hemoglobin on the y-axis. It loads data from a remote CSV file using D3’s `csv` function, then scales the values with `scaleLinear` and renders circles as data points. The axes are generated via `axisBottom` and `axisLeft`, with labels added as SVG text. Each point is colored using `d3.scaleOrdinal` with `d3.schemeCategory10`, and the visualization fills the browser window via `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed