Skip to content

Commit bc0f609

Browse files
Merge branch 'dev'
2 parents 35801b6 + 4ed510f commit bc0f609

File tree

7 files changed

+404
-12
lines changed

7 files changed

+404
-12
lines changed

package-lock.json

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sankeydiagram.net",
3-
"version": "1.5.2",
3+
"version": "1.5.3",
44
"private": true,
55
"browserslist": [
66
"defaults"

src/how-to/create-a-sankey-diagram.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ <h1 class="font-semibold">SankeyDiagram.net</h1>
141141
<li><b>You can optionally specify a custom color for each flow.</b></li>
142142
<li><b>Colors are specified at the end of each line inside square-brackets.</b></li>
143143
<li>You can use a set of common pre-defined color names like "red", "blue", "green", or even enter custom hex-color-codes like "#FF0000".</li>
144+
<li>Find a list of all supported shorthand color names here: <a class="underline text-accent" href="./css-color-names-list-hex-code">list of css color names with hex codees</a></li>
144145
</ul>
145146
</div>
146147
<div>

src/how-to/css-color-names-list-hex-code.html

Lines changed: 377 additions & 0 deletions
Large diffs are not rendered by default.

src/how-to/what-is-a-sankey-diagram.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,19 @@ <h2 class="font-bold text-3xl" id="what-kind-of-data-is-good-for-sankey-diagrams
117117
</p>
118118

119119
<hr class="border border-black mt-4" />
120-
<h2 class="font-bold text-3xl" id="do-i-need-to-sign-up">5. Do I need to sign-up to create a Sankey Visualisation with sankeydiagram.net?</h2>
120+
<h2 class="font-bold text-3xl" id="what-is-a-good-use-for-sankey-diagrams-in-business-finance">5. What is a good use for Sankey Diagrams in business and finance?</h2>
121+
<p>Various examples where Sankey Diagrams can easily be used to visualize data, resources, and processes in a business and finance context:</p>
122+
<ul class="list-disc list-inside">
123+
<li>Visualizing the earnings and expenses (or cash-flow) of a company's fiscal year</li>
124+
<li>Visualizing the share of specific sub-budgets in a total budget</li>
125+
<li>Showing the number of applicants to a company and where they dropped out in the interview process</li>
126+
<li>Explaining the user journey on a website or e-commerce store</li>
127+
<li>Plotting the use and loss of resources in an organization</li>
128+
<li>Planning your personal-finance budget</li>
129+
</ul>
130+
131+
<hr class="border border-black mt-4" />
132+
<h2 class="font-bold text-3xl" id="do-i-need-to-sign-up">6. Do I need to sign-up to create a Sankey Visualisation with sankeydiagram.net?</h2>
121133
<p>
122134
<b>No, you don't need to sign-up.</b> You can use everything for free, directly in your browser. No Sign-Up, no Ads.
123135
</p>

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ <h1 class="font-semibold">SankeyDiagram.net</h1>
185185
</p>
186186
<div class="divider !mt-4">How do I use this tool?</div>
187187
<p>
188-
See <a class="underline text-accent" href="/how-to/what-is-a-sankey-diagram">"How To create a Sankey Diagram"</a> for more information and a more complete guide on how to use this Sankey Diagram maker.
188+
See <a class="underline text-accent" href="/how-to/create-a-sankey-diagram">"How To create a Sankey Diagram"</a> for more information and a more complete guide on how to use this Sankey Diagram maker.
189189
</p>
190190
<div class="divider !mt-4">Examples</div>
191191
<ul class="list-disc list-inside">

src/js/colors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ export const CSS3_NAMES_TO_HEX = {
148148
'whitesmoke': '#f5f5f5',
149149
'yellow': '#ffff00',
150150
'yellowgreen': '#9acd32',
151+
'rebeccapurple': '#663399' // non-standard
151152
};
152153

153154
export const palettePaired = d3.scaleOrdinal(d3.schemePaired);

0 commit comments

Comments
 (0)