Built with blockbuilder.org
Last active
January 27, 2020 05:43
-
-
Save molliemarie/07c8af26ff3303fbff66baeccc46da94 to your computer and use it in GitHub Desktop.
FirstScatterPlot_UFOSightings_Starter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<script src="https://d3js.org/d3.v5.min.js"></script> | |
<style type="text/css"> | |
svg { | |
border:1px solid #f0f; | |
} | |
/*NEW CSS GOES HERE*/ | |
</style> | |
<body> | |
</body> | |
<script> | |
const data = [ | |
{"date": "12/2018", "count": 233}, | |
{"date": "11/2018", "count": 228}, | |
{"date": "10/2018", "count": 262}, | |
{"date": "09/2018", "count": 293}, | |
{"date": "08/2018", "count": 350}, | |
{"date": "07/2018", "count": 400}, | |
{"date": "06/2018", "count": 225}, | |
{"date": "05/2018", "count": 243}, | |
{"date": "04/2018", "count": 221}, | |
{"date": "03/2018", "count": 235}, | |
{"date": "02/2018", "count": 235}, | |
{"date": "01/2018", "count": 311} | |
]; | |
console.log(data) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment