Difference between revisions of "Web Element: D3.js"
(Created page with "<style> →set the CSS: body { font: 12px Arial;} path { stroke: steelblue; stroke-width: 2; fill: none;} .axis path, .axis line { fill: none;...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <html> | ||
<style> /* set the CSS */ | <style> /* set the CSS */ | ||
body { font: 12px Arial;} | body { font: 12px Arial;} | ||
Line 11: | Line 12: | ||
<body> | <body> | ||
<!-- load the d3.js library --> | <!-- load the d3.js library --> | ||
− | <script src=" | + | <script src="https://d3js.org/d3.v6.min.js"></script> |
<script> | <script> | ||
// Set the dimensions of the canvas / graph | // Set the dimensions of the canvas / graph | ||
Line 74: | Line 75: | ||
</script> | </script> | ||
</body> | </body> | ||
+ | </html> |
hkilter.com by H. K. Ilter is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
© 2020 H. K. Ilter