Skip to main content
100%

Pseudo Scatter Plot

✓ Published1🌍 Public
Ttomasnihlen
Last edited Sep 22, 2022
Created on Sep 21, 2022

A pseudo scatter plot displays a series of vertical bars evenly spaced across the full width of the browser window. The visualization creates an optical illusion of scattered points through the deliberate placement of these bars. The code uses plain JavaScript with the SVG DOM API, creating `rect` elements via `document.createElementNS` and appending them to an SVG canvas that spans the entire viewport. The bars are positioned mathematically using the `barWidth` variable and loop counters, though no actual scatter plot data or points are rendered.

AI-generated description
MIT Licensed

Similar vizzes