✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

How can I create a gradient that spreads from the center in scatter plot?

I have a .csv of a 3D scan with XYZ coordinates being displayed as a 3D scatter plot. I want the color to change as the points get farther from the center. How can I do this?

This might have already been asked but I wasn’t sure how to phrase it.