Hung Do; CS725:Information Visualization; Spring 2016; Computer Science; Old Dominion University
Built with blockbuilder.org
Working through the examples from Scott Murray's tutorial at http://alignedleft.com/tutorials/d3/
R image that using a dataset generated by D3 example. I use console.log(dataset)
to get data.
Embedding R code in Markdown:
#Setup a dataset for barchar.
dataset <- c(57, 63, 67, 42, 28, 45, 30, 43, 28, 37, 20, 24, 60, 55, 25, 29, 59, 43, 35, 49, 16, 22, 43, 13, 28)
#Create a bar chart using above dataset with color "blue"
barplot(dataset,col="blue")
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js