A simple example of creating a radial SVG gradient used in my blog on Data-based and unique gradients for visualizations with d3.js
Other examples from this Astronomy-themed blog can be found here
- Data based gradients - the Solar System
- Our nearest stars in a Hertzsprung-Russell diagram
- Data storytelling with exoplanets
Built with blockbuilder.org