First Commit
This commit is contained in:
commit
d861a1a02c
36 files changed
+2996
No files matched your search
@@ -0,0 +1,19 @@
|
||||
d3.csv("data/csvimport.csv")
|
||||
.then(function(data){
|
||||
console.log(data)
|
||||
d3.select('body')
|
||||
.selectAll('p')
|
||||
.data(data)
|
||||
.enter()
|
||||
.append('p')
|
||||
.text((d, i) => {
|
||||
return d['First Name'] + ' ' + d['Last Name']
|
||||
})
|
||||
.attr('style', 'color:red');
|
||||
|
||||
})
|
||||
|
||||
d3.json("data/jsonimport.json")
|
||||
.then(function(data){
|
||||
console.log(data)
|
||||
})
|
||||
Reference in new issue
Block a user