Skip to content

Commit

Permalink
adjusted top 10 apps style in treemap
Browse files Browse the repository at this point in the history
  • Loading branch information
Lugiasc committed Jun 4, 2023
1 parent fa23a94 commit 170000a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/js/treemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function updateCategoryInfoOverall(data, sliderValueTreemap) {

data.forEach(function(app, index) {
topAppsHtml += "<a id='category_app_" + index + "'>"
topAppsHtml += "<p class='clickable'><strong>" + (index + 1) + ".</strong> " + app.App_Name + "</p></a>"
topAppsHtml += "<p class='clickable chart-description'><strong>" + (index + 1) + ".</strong> " + app.App_Name + "</p></a>"
})

d3.select("#category-info")
Expand Down Expand Up @@ -378,7 +378,7 @@ function updateCategoryInfo(dataType, categoryName) {

topApps.forEach(function(app, index) {
topAppsHtml += "<a id='category_app_" + index + "'>"
topAppsHtml += "<p class='clickable'><strong>" + (index + 1) + ".</strong> " + app.App_Name + "</p></a>"
topAppsHtml += "<p class='clickable chart-description'><strong>" + (index + 1) + ".</strong> " + app.App_Name + "</p></a>"
})
d3.select("#category-info")
.html(topAppsHtml).style("opacity", 0).transition().duration(500).style("opacity", 1)
Expand Down

0 comments on commit 170000a

Please sign in to comment.