Gooey scatterplot based on the Visual Cinnamon work. Many thanks to Nadieh Bremer for her excelent tutorials.
forked from maritrinez's block: Gooey scatterplot
xxxxxxxxxx
<meta charset="utf-8">
<title>Gooey scatterplot</title>
<script src="https://d3js.org/d3.v4.js"></script>
<script src="https://d3js.org/d3-scale-chromatic.v0.3.min.js"></script>
<link rel="stylesheet" type="text/css" href="main.css">
<body>
<div id='buttons'>
<button type="submit" class= "button selected" value="grouped">grouped</button>
<button type="submit" class= "button" value="ungrouped">ungrouped</button>
</div>
<div id="chart"></div>
<script src="gooey_scatterplot.js"></script>
</body>
https://d3js.org/d3.v4.js
https://d3js.org/d3-scale-chromatic.v0.3.min.js