Questions tagged [vincent]

Vincent allows you to build Vega specifications in a Pythonic way, and performs type-checking to help ensure that your specifications are correct. It also has a number of convenience chart-building methods that quickly turn Python data structures into Vega visualization grammar, enabling graphical exploration.

Vincent allows you to build Vega specifications in a Pythonic way, and performs type-checking to help ensure that your specifications are correct. It also has a number of convenience chart-building methods that quickly turn Python data structures into Vega visualization grammar, enabling graphical exploration. It allows for quick iteration of visualization designs via getters and setters on grammar elements, and outputs the final visualization to JSON.

Perhaps most importantly, Vincent has Pandas-Fu, and is built specifically to allow for quick plotting of DataFrames and Series.

The data capabilities of Python. The visualization capabilities of JavaScript.

37 questions
0
votes
1 answer

Vincent not creating any json

I have been trying to create a Vincent time series line plot. My code is as follows: #!/usr/bin/env python import pandas as pd import numpy as np import vincent #test data df2 = pd.DataFrame({ 'A' : 1., 'B' : pd.Timestamp('20130102'),'C' :…
schoon
  • 2,858
  • 3
  • 46
  • 78
0
votes
2 answers

Folium Choropleth map marker is not working

I'm trying to follow the blog post from Domino lab, Creating interactive crime maps with Folium. And I found that the code base is too old to run the Folium's Choropleth map marker. Although older version on Domino platform seems working (2015),…
user3368526
  • 2,168
  • 10
  • 37
  • 52
0
votes
0 answers

Issue in importing vincent in python2.7

i have installed vincent-o.1.6 "python setup.py install" and it has created "vincent-0.1.6-py2.7.egg" this file in my "site-packages" folder but when i import it in my program using "import vincent" it throws the following error "import…
0
votes
1 answer

Error: Cannot find module 'd3'

I'm trying to run a node script (vg2svg), but get this error: Error: Cannot find module 'd3' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:278:25) at Module.require (module.js:365:17) …
ohad
  • 353
  • 3
  • 12
0
votes
1 answer

How to get vincent to display a pandas date/time axis correctly?

I have a pandas dataframe that I want to use in a vincent visualization. I can visualize the data, however, the X axis should be displayed as dates and instead the dates are just given an integer index of 500, 1000, 1500, etc. The dataframe looks…
David Watson
  • 3,394
  • 2
  • 36
  • 51
0
votes
1 answer

Vincent map html output not valid html

I'm writing some code with Python and Vincent to display some map data. The example from the docs looks like this: import vincent county_topo = r'us_counties.topo.json' state_topo = r'us_states.topo.json' geo_data = [{'name': 'counties', …
Brandon
  • 3,573
  • 6
  • 19
  • 21
0
votes
1 answer

Unable to plot chloreopath worldmap with Vincent in iPython

Trying to draw a shaded worldmap in Vincent (similar to county example in the Map Data Binding section here). My code doesn't throw errors, but produces a solid color map (ie- all countries are blue). I have thematic data describing each country…
Rob Hicks
  • 52
  • 5
1 2
3