Skip to main content
100%

Project

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

This example displays a scatter plot of rainfall (mm) against crop yield (tons per hectare) for three data points, using D3 v7. It loads the D3 library via UNPKG and uses d3.select, d3.scaleLinear, d3.extent, and d3.axisBottom/axisLeft to render axes and circles in SVG. The chart includes axis labels, margins, and a tooltip style, with hardcoded data rather than fetching from external files. It also demonstrates ES6 module imports, including a local message module, in a separate JavaScript file.

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