All examples By author By category About

jrodgz

JDR VI1 for CS725@ODU

Built with blockbuilder.org

##Name: Joel D. Rodriguez-Ortiz Above are the results of working through the D3 tutorial. Refreshing serveral times will produce the same bar graph with randomized data.

A sampling of the randomized data was logged, to produce the same bar graph in R (shown below).

###R Source Code

data <- c(28, 17, 18, 13, 13, 28, 4, 16, 12, 13, 10, 18, 7, 27, 
          25, 29, 4, 10, 12, 27, 5, 28, 26, 17, 16)
barplot(data,
        main='Data',
        ylab='Count',
        border='blue')

R Bar Graph