Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Example 1

Public visualization

D3 Example 1

0 stars2🌍 Public
OOleJRask
Last edited Aug 25, 2021
Created on Aug 25, 2021
Forked from HTML Starter

This example plots five red circles on a light grey SVG canvas, with each circle’s position determined by x and y coordinates loaded from a tab-separated values file (`example1.tsv`). The visualization uses D3 v7, fetching the data via `d3.tsv()` and binding it to circle elements through `selectAll().data().enter().append()`. The circles are styled with fixed radius and fill color, while their `cx` and `cy` attributes are set directly from the data values, producing a simple scatterplot without any scales or axes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed