Skip to main content
100%

Task-8

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

This scatter plot visualizes the relationship between the number of animals and humans in a dataset, with points colored steelblue or orange depending on a binary `is_required` attribute. The example loads D3 v6 via UNPKG and uses `d3.csv` to parse remote CSV data, `d3.scaleLinear` with `d3.extent` for scaling, and `d3.axisLeft` and `d3.axisBottom` for axes. Circle marks are drawn into an SVG using `selectAll('circle').join`, with labels for both axes styled in green.

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