Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3

Public visualization

Viewing a saved revision (read-only)

36b595643d5749009cf29f77af3d321f

Fork of D3

0 stars0🌍 Public
AAidan Quinn
Last edited Feb 15, 2021
Created on Feb 14, 2021
Forked from D3 Starter

This example demonstrates a minimal D3.js scatterplot setup, rendering an SVG canvas with a slate blue background and a single text label reading “test of D3.js.” The code uses D3 v6’s `select` function to target the SVG element and chain `.style()` and `.append()` methods to apply styling and add the text. The visualization is entirely static, with no data points or interaction despite the README’s mention of interactivity, and the text’s color property is set via CSS `style` but is overridden by the SVG’s default fill.

AI-generated description

A test of scatterplots with interactivity.