<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SVG Gradient on Visual Cinnamon</title><link>https://www.visualcinnamon.com/tags/svg-gradient/</link><description>Recent content in SVG Gradient on Visual Cinnamon</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 16 Sep 2024 16:26:42 +0200</lastBuildDate><atom:link href="https://www.visualcinnamon.com/tags/svg-gradient/index.xml" rel="self" type="application/rss+xml"/><item><title>Using gradients for abrupt color changes in data visualizations</title><link>https://www.visualcinnamon.com/2016/06/abrupt-color-gradients/</link><pubDate>Mon, 27 Jun 2016 00:00:00 +0000</pubDate><guid>https://www.visualcinnamon.com/2016/06/abrupt-color-gradients/</guid><description>&lt;p&gt;I&amp;rsquo;ve already shown the diversity of using gradients in data visualization in several other blogs in this series. But you don&amp;rsquo;t even have to use gradients as something that runs smoothly from one color to another. They can be very handy for abrupt changes as well. The first time I ended up using this technique was when I became interested in the popularity of baby names.&lt;/p&gt;</description></item><item><title>Data-based orientations for gradients in a d3.js chord diagram</title><link>https://www.visualcinnamon.com/2016/06/orientation-gradient-d3-chord-diagram/</link><pubDate>Mon, 13 Jun 2016 00:00:00 +0000</pubDate><guid>https://www.visualcinnamon.com/2016/06/orientation-gradient-d3-chord-diagram/</guid><description>&lt;p&gt;In this blog, I&amp;rsquo;ll show you &lt;strong&gt;how to add a color gradient to the chords of a d3.js Chord Diagram&lt;/strong&gt;. This comes in handy when there is no net difference in the chords. But you can apply the technique to any gradient that you want to orient based on data. We&amp;rsquo;re going to look at the collaborations between Avengers. With all those cameo&amp;rsquo;s happening in the MCU, I wanted to know how often two Avengers had appeared in a movie together. This results in a symmetrical dataset since, if Thor appeared in a movie together with Hawkeye, the reverse is true as well.&lt;/p&gt;</description></item><item><title>Animate a gradient to imitate a flow in a d3.js</title><link>https://www.visualcinnamon.com/2016/05/animate-gradient-imitate-flow-d3/</link><pubDate>Mon, 16 May 2016 00:00:00 +0000</pubDate><guid>https://www.visualcinnamon.com/2016/05/animate-gradient-imitate-flow-d3/</guid><description>&lt;p&gt;We&amp;rsquo;re picking up right where I left you in my blog on &lt;a href="https://www.visualcinnamon.com/2015/08/stretched-chord/"&gt;Hacking a Chord diagram to visualize a Flow&lt;/a&gt; where I turned a Chord Diagram into a more circular flow diagram. Even with the chords now having been turned into a &amp;ldquo;bat-plot&amp;rdquo; I still wanted to emphasize more that we were dealing with a flow from left to right, from Education to Occupation. So, I thought, why not try to use a gradient and animate a movement/flow towards the right.&lt;/p&gt;</description></item><item><title>Creating a smooth color legend with an SVG gradient</title><link>https://www.visualcinnamon.com/2016/05/smooth-color-legend-d3-svg-gradient/</link><pubDate>Mon, 02 May 2016 00:00:00 +0000</pubDate><guid>https://www.visualcinnamon.com/2016/05/smooth-color-legend-d3-svg-gradient/</guid><description>&lt;p&gt;My first deviation from just using SVGs merely for their shapes came while trying to create a color legend. I was looking for a way to create a legend that would smoothly go from one color in my color scale to another. It wasn&amp;rsquo;t really necessary to read the exact value each color represented. It was more about seeing trends and getting a general sense of the numbers, so chopping the colors up into 5 or 6 bins wasn&amp;rsquo;t what I wanted. And that&amp;rsquo;s how I got into SVG gradients.&lt;/p&gt;</description></item><item><title>SVGs beyond mere shapes</title><link>https://www.visualcinnamon.com/2016/04/svg-beyond-mere-shapes/</link><pubDate>Tue, 26 Apr 2016 00:00:00 +0000</pubDate><guid>https://www.visualcinnamon.com/2016/04/svg-beyond-mere-shapes/</guid><description>&lt;p&gt;You&amp;rsquo;ve come to the blog that is the written companion to my talk called &lt;em&gt;SVGs beyond mere shapes&lt;/em&gt;. SVG can do much more than create nice shapes and paths. In my talk I discuss several techniques and demonstrate how to implement them in D3: from dynamic gradients based on data, to SVG filters, to creating glow, gooey, and fuzzy effects that brighten up any visual.&lt;/p&gt;</description></item><item><title>Creating an interactive “exoplanets in orbit” visualization</title><link>https://www.visualcinnamon.com/2014/12/creating-interactive-exoplanets-in/</link><pubDate>Wed, 24 Dec 2014 00:00:00 +0000</pubDate><guid>https://www.visualcinnamon.com/2014/12/creating-interactive-exoplanets-in/</guid><description>&lt;p&gt;Having enjoyed the process of explaining a visualization through &lt;em&gt;Storytelling&lt;/em&gt; in my &lt;a href="https://www.visualcinnamon.com/2014/12/using-data-storytelling-with-chord/"&gt;previous post&lt;/a&gt; about chord diagrams, I wanted to create another and try a slightly different approach. And give myself a new project to learn more about d3.js and JavaScript in general.&lt;/p&gt;</description></item></channel></rss>