Skip to main content
Public

Share visualization

Loading preview…

Distribution Scatter 3

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Distribution Scatter 3

0 stars1Public
WWaseem Medhat
Last edited Nov 15, 2020
Created on Nov 15, 2020

Transparent rectangles in 45-degree rotation render the distribution of 500 samples from a Pareto distribution, each rectangle's width fixed at 25 pixels. Every five seconds, a palette randomly selects a background and foreground color pair, triggering `d3.transition` with 1000-millisecond durations on both the background `rect` and the foreground rectangles. The SVG animation cycles through six predefined color schemes, from teals to violets, while the rectangles maintain a 0.02 opacity. The visualization uses `d3.randomPareto` to generate data and `d3.selectAll` with `.enter()` to bind it to SVG elements.

AI-generated description

Transparent rectangles with changing colors, rendered from random samples of a Pareto distribution. Inspired from work by Nita Nagdewate.

See also:

Comments

Sign in to join the discussion.

MIT Licensed