-
Notifications
You must be signed in to change notification settings - Fork 1
/
ScatterPlot.html
37 lines (36 loc) · 1.5 KB
/
ScatterPlot.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<head>
<title>Space Titanic Visualisation</title>
<script src="https://unpkg.com/[email protected]/dist/d3.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/arquero.min.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Space Titanic : The Great Spenders</h1>
<svg height="760" width="900"></svg>
<div>
<h1>What you are seeing above?</h1>
</div>
<div>
<p>
Data points of the spending done by the Travellers aboard Space Titanic. The dataset taken from the
<a href="https://www.kaggle.com/competitions/spaceship-titanic">Space Titanic Kaggle competition</a>
But why the visualisation is Black and White? Oh.. Thanks goes to
<a href="https://vizhub.com/forum/t/get-it-right-in-black-white-index/110"> Get it Black and White with D3</a>
</p>
<p>
Every visualisation starts in Black and White state where there is
<ul>
<li>Data</li>
<li>Marks</li>
<li>Scales</li>
<li>Axes</li>
<li>Signals</li>
</ul>
This visuals has all the above. The signals are the position on the XY chart. Such is the beginning of the visualisation Journeyman.
</p>
</div>
<script src="scatterIndex.js"></script>
</body>
</html>