Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pseudo Scatter Plot

Public visualization

Viewing a saved revision (read-only)

fd868fe627154d509e90ada8d78cb93e

Pseudo Scatter Plot

0 stars1🌍 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