This is in answer to Is it possible to load csv data to nvd3 library? stack overflow question. The answer is yes, its just nvd3 expects a very specific data form and this code should parse a simple csv into a form that nvd3 requires for a simple bar chart.