This video is available to students only
Adding a Title to a Svelte Rotating Globe Visualization
Finishing off with a title!
Let's finish up by adding a simple title and subtitle. These are regular old HTML elements, so you probably remember how this works by now:
xxxxxxxxxx
<div class="chart-container">
<h1>The World at a Glance</h1>
<h2>Population by Country, 2021</h2>
<!-- Rest of chart -->
</div>
This lesson preview is part of the Better Data Visualizations with Svelte course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.
Unlock This Course
Get unlimited access to Better Data Visualizations with Svelte, plus 70+ \newline books, guides and courses with the \newline Pro subscription.
