Charts
Links in Big Number charts
Bullet chart
Sparklines in Big Number charts
Chart heights
Chart annotations
Choropleth map
Force-directed graph
Funnel chart
Geographic heat map
Google Maps with markers
Heat map
Hive plot
Horizontal bar chart
Network matrix
Creating Chart Annotations using Matplotlib
Creating Histograms using Pandas
Creating Horizontal Bar Charts using Pandas
How to Create R Histograms & Stylize Data
Creating Horizontal Bar Charts using R
Sunburst chart
State choropleth map
Word cloud
World choropleth map
Zipcode choropleth map
How to implement gallery examples using the HTML editor
Links in Big Number charts
Mode's Big Number charts are great for communicating key performance indicators (KPIs). Turning them into links makes it easy for your audience to explore the underlying factors impacting the result. You can link to other reports in Mode or external URLs.
Add a link to a Big Number chart
The example below shows a Big Number chart revealing the mean hours studied for the SAT and includes a link to the College Board's SAT page.
Click Powered by Mode to duplicate this report and add a link to your Big Number chart. Learn more about using HTML to customize your reports.
Add the stylesheet link and script tag to the top of the HTML:
<link rel="stylesheet" href="https://mode.github.io/alamode/alamode.min.css">
<script src="https://mode.github.io/alamode/alamode.min.js"></script>
This tag calls back to an open-source library called alamode.js, which provides an easy way to build some of our users' favorite visualizations.
Add the customizable snippet at the bottom of the HTML:
<script>
alamode.addLinkToBigNumber(
{
"chart_id":"chart_f43a83a9936c",
"url": "https://collegereadiness.collegeboard.org/sat"
}
)
</script>
chart_id
: The ID of the Big Number chart you want to turn into a link. You’ll find this ID in the pre-populated HTML code in a line that looks like this:<mode-chart id="chart_f43a83a9936c" dataset="dataset" options="chart_options"></mode-chart>
.url
: The URL you want to link to. This can be the URL for another Mode report or an external URL.