Using Google Fonts
@currankelleher's famous introToD3 examples
artisanally ported to blockbuilder.org by @micahstubbs
xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<title>CSS Example</title>
<link href='https://fonts.googleapis.com/css?family=Poiret+One' rel='stylesheet' type='text/css'>
<style>
.my-text {
font-size: 3em;
font-family: 'Poiret One', cursive;
}
</style>
</head>
<body>
<svg width="300" height="250">
<text class="my-text" x="0" y="100">A cool font.</text>
</svg>
</body>
</html>