<head>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="graph"></div>
</body>
Plotly.plot('graph', [{
y: [2,1,2],
line: { shape: 'spline' }
}], {
title: 'Graph with custom font',
font: {
// found on http://fontcdn.org/
family: "'Oswald', sans-serif"
}
})
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.