From 314b1bd626565b3db29113d879917315b5c2ad2b Mon Sep 17 00:00:00 2001 From: Angelos Chatzimparmpas Date: Fri, 15 Feb 2019 14:36:25 +0100 Subject: [PATCH] added save/load exec and factory reset buttons and functionalities --- css/style.css | 18 +- data/winequality-red.csv | 2 +- index.html | 34 ++-- js/tsne_vis.js | 355 +++++++++++++++++++++++++++++++-------- 4 files changed, 315 insertions(+), 94 deletions(-) diff --git a/css/style.css b/css/style.css index b40dad7..fec494b 100755 --- a/css/style.css +++ b/css/style.css @@ -3,7 +3,7 @@ /* Main html/body configurations */ html, body { max-width: 100%; - font: serif; + font-family: sans-serif !important; } .container-fluid { @@ -197,7 +197,6 @@ rect { .axis text { font-size: 9pt; - font-family: Consolas, courier; fill: #000; } @@ -209,7 +208,7 @@ rect { .d3-tip { line-height: 1; - font: 14px sans-serif; + font-size: 14px; padding: 12px; background: rgba(0, 0, 0, 0.8); color: rgb(185, 185, 185); @@ -360,4 +359,17 @@ rect { #kNNInfo { margin-top: 35px; +} + +/* Load and Save Analysis Buttons Styling */ +.button { + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 14px; + margin-left:10px; +} + +#FactRes{ + color: red; } \ No newline at end of file diff --git a/data/winequality-red.csv b/data/winequality-red.csv index 629bfd2..955bff3 100644 --- a/data/winequality-red.csv +++ b/data/winequality-red.csv @@ -1,4 +1,4 @@ -"fixed acidity";"volatile acidity";"citric acid";"residual sugar";"chlorides";"free sulfur diox";"total sulfur diox";"density";"pH";"sulphates";"alcohol";"quality*" +"fix ac";"vol ac";"cit ac";"res sugar";"chlor";"f sul diox";"t sul diox";"dens";"pH";"sulph";"alc";"quality*" 7.4;0.7;0;1.9;0.076;11;34;0.9978;3.51;0.56;9.4;5 7.8;0.88;0;2.6;0.098;25;67;0.9968;3.2;0.68;9.8;5 7.8;0.76;0.04;2.3;0.092;15;54;0.997;3.26;0.65;9.8;5 diff --git a/index.html b/index.html index 439d62d..29fd0c0 100755 --- a/index.html +++ b/index.html @@ -46,7 +46,7 @@
-

t-SNE Overview

+

t-SNE Overview

@@ -81,13 +81,13 @@
-

Select Different Modes

+

Select Different Modes

- - - + + +