Open mikedewar opened 12 years ago
suggested idiom:
df = pandas.DataFrame( { "count" : [1,4,7,3,2,9], }, index = ["a", "b", "c", "d", "e", "f"] ) with d3py.Figure(df) as p: p += d3py.Bar(y = "count") p += d3py.xAxis() p.show()
this would draw the bar chart with the index as the x-bins.
suggested idiom:
this would draw the bar chart with the index as the x-bins.