<html>
<head>
<style>
.vizDiv {
border: 1px solid #D3D3D3;
width: 1000px;
height: 1000px;
text-align: left;
padding: 20px;
}
.leftDiv {
width: 18%;
float:left;
padding-right: 15px;
}
.rightDiv {
width: 80%;
float:left;
padding-left: 5px;
}
.blue{
color: steelblue
}
.smol {
font-size: 10px;
}
h1, h2, h3 {
text-align: left;
}
h4 {
margin-top: 8px;
color: #396a93
}
p, .txt {
font-size: 12px;
}
</style>
<body>
<div class='vizDiv'>
<h1>EuroTrip 2022: By Plane or By Train?</h1>
<p>Exploring six popular European routes routes, depending on your travel preferences.</p>
<div class='leftDiv'>
<h2> In a hurry?</h2>
<p> Travel by plane is up to <strong>6x</strong> faster, depending on your desired route. </p>
<p> London-Amsterdam or Zurich-Milan are the shortest routes at just 65 minutes each. </p>
</div>
<div class='rightDiv'>
<h4>Route Duration by Mode of Travel</h4>
${
timePlot
}
</div>
<div class='leftDiv'>
<h2> Or are you an eco-conscious traveler? </h2>
<p>Trains are by far the more carbon-conscious choice for every route.</p>
</div>
<div class='rightDiv'>
<h4>Emissions by Route and Mode of Travel</h4>
${
emPlot
}
</div>
<p class='smol'> </p>
<h2> Looking for travel deals, or just a last-minute planner?</h2>
<span class="txt">Booking earlier will usually yield the cheapest prices, independent of mode of travel, especially for London routes. Last-minute jet-setters will want to keep an eye on plane fares for Zurich-Milan and Berlin-Warsaw, whose prices stay fairly consistent.</span>
<h4>Travel Fares Typically Increase as Purchase Date Approaches Travel Date</h4>
${
pricePlot3
}
</div>
</body>
</head>
</html>