Skip to main content
100%

merge

✓ Published0🌍 Public
Hhanulik.ondrej@gmail.com
Last edited Nov 11, 2022
Created on May 15, 2021
Forked from zkusebna

A set of colored circles displays the relative values of financial assets such as EUR, BTC, and GOLD loaded from data.csv. Each circle’s radius encodes its value, while its fill color is assigned using a d3.scaleOrdinal with a range generated by d3.quantize and d3.interpolateYlOrRd. The example demonstrates the d3 .merge() method, combining enter and update selections so that all circles are repositioned to a common x-coordinate after initial rendering.

AI-generated description
MIT Licensed

Similar vizzes