This D3 visualization arranges shapes to form recognizable silhouettes: a star, a tree, and a skyline. Small gold stars hover around the big central star.
The visualization creates three distinct shapes using connected lines:
Each shape is created by defining key points and connecting them with lines to form the silhouette. The small stars perform a continuous floating animation around the big star.
To show the Trump tariffs visualization instead, change the
call in index.js
to viz(container, 'tariffs')
.