<script src='https://d3js.org/d3.v4.min.js'></script> was added in the page head.
xxxxxxxxxx
%%html
<style>
import 'https://fonts.googleapis.com/css?family=Ewert';
</style>
<h4>Apply D3 & Google Fonts for Text Styling</h4>
<script>
var h4=d3.select('h4');
h4.style('color','#3636ff').style('font-size','120%')
.style('font-family','Ewert')
.style('text-shadow','3px 3px 3px slategray');
No comments:
Post a Comment