Skip to content

Commit

Permalink
Initial upload of visual
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward-Jackson-ONS committed Jun 10, 2024
1 parent b97551b commit 7acab33
Show file tree
Hide file tree
Showing 8 changed files with 128 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
Empty file added .nojekyll
Empty file.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# bus-metrics-england-visual
Interactive visual of bus reliability metrics by LSOA for England (January - April 2024, based on daily BODS data from 7-10am)
Interactive visual of bus reliability metrics by LSOA for England (February - April 2024, based on daily BODS data from 7-10am)

Please note that these are experimental metrics. Every effort has been made to verify the accuracy of the metrics but user caution should be exercised.
Binary file added assets/.DS_Store
Binary file not shown.
15 changes: 15 additions & 0 deletions assets/example_suppressed_mini.html

Large diffs are not rendered by default.

Binary file added assets/logo_reduced.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions index.html

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
body {
margin: 0;
}

.content {
height: 100vh;
width: 100vw;
font: "Arial";
font-size: 11px;
}

#iframe-content {
height: 100vh;
width: 100vw;
border: none;
margin: 0;
padding: 0;
overflow: hidden;
z-index: 1;
}

#logo {
position: absolute;
left:0px;
bottom:150px;
background-color: white;
padding: 5px;
z-index: 10;
border-radius: 10px;
}

.legend {
max-width: 600px !important;
position: absolute;
left:20px;
bottom:15px;
background-color: white;
padding: 5px;
z-index: 10;
border-radius: 10px;
}

.content .legend-detail ul {
margin: 0;
margin-bottom: 5px;
padding: 0;
float: left;
list-style: none;
}

.content .legend-detail ul li {
line-height: 18px;
margin-bottom: 2px;
}

.content ul.legend-labels li span {
display: block;
float: left;
height: 16px;
width: 16px;
margin-right: 5px;
margin-left: 0;
}

.content .legend-title {
text-align: left;
margin-bottom: 5px;
font-weight: bold;
font-size: 120%;
}

.content .legend-source {
color: #999;
clear: both;
}

.content a {
color: #777;
}

0 comments on commit 7acab33

Please sign in to comment.