Skip to main content
100%

The d3 test

✓ Published1🌍 Public
Aavesh1998
Last edited Jun 3, 2020
Created on Jun 3, 2020
Forked from HTML Starter

A basic scatterplot maps four pairs of numbers from the `xdata` and `ydata` arrays onto a two-dimensional chart. The visualization uses the D3 v2 library to create linear scales for both axes and draws circular points with a fixed radius and partial opacity. The chart renders axes via `d3.svg.axis()` and updates the points through `g.selectAll("scatter-dots")` in a `redraw()` function, though the code does not invoke this function, so only the axes and empty plotting area are visible on load.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes