score:1

Accepted answer

It is not because you saved it as jsp or html page. You need to add charset="UTF-8" to your script declaration as d3.js uses UTF characters.

eg.

<script src="http://d3js.org/d3.v3.js" charset="UTF-8"></script>

Related Query

More Query from same tag