Skip to main content
100%

Task8_Question3

✓ Published0🌍 Public
Jjyothirmaijyothi2017@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes