Task-8
✓ Published0🌍 Public
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 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