Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
EliaFantini committed Jun 4, 2023
2 parents bd12d2d + 89181d7 commit 839cf54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ footer {

.chart-description {
text-align: justify;
font-size: 20px;
font-size: 18px;
font-weight: 200;
margin-top: 10px;
}
Expand Down
2 changes: 1 addition & 1 deletion website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ <h1 class="section-heading">Size matters</h1>
With a glimpse of an eye, you henceforth know it.</p>
<p class="chart-description">Each tile size represents the proportion of applications in the category, <b>click on a tile</b> to display the 10 most downloaded/reviewed
applications for that specific category. <br><b>Hover a tile</b> to display its name, the number of applications and the percentage it represents.
Use the <b>slider</b> to change between datasets. You can also <b>click on an app</b> in the top at the right to show more information about it.</p>
Use the <b>slider</b> to change between datasets. <br>You can also <b>click on an app</b> in the top at the right to show more information about it.</p>
<div id="slider-container-treemap">
<label for="slider-treemap">Select Data:</label>
<input type="range" min="1" max="3" value="1" id="slider-treemap" list="slider-treemap-labels">
Expand Down
4 changes: 2 additions & 2 deletions website/js/treemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var marginTreemap = {top: 50, right: 30, bottom: 0, left: 0},
marginTreemapLabel = 10,
widthTreemap = document.getElementsByClassName("column-left-75")[0].offsetWidth,
heightTreemap = 900,
heightTreemap = 800,
tile = d3.treemapResquarify,
fontSizeTreemap = "20px",
colorsAndroid = d3.scaleOrdinal()
Expand Down Expand Up @@ -192,7 +192,7 @@ function updateTreemap(data, dataType) {
tooltip.style("visibility", "visible")
})
.on("mousemove", function() {
tooltip.style("top", (d3.event.pageY+10)+"px").style("left",(d3.event.pageX+10)+"px")
tooltip.style("top", (d3.event.pageY-100)+"px").style("left",(d3.event.pageX+15)+"px")
})
.on("mouseout", function() {
tooltip.style("visibility", "hidden")
Expand Down

0 comments on commit 839cf54

Please sign in to comment.