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
12
votes
1 answer

Is there a way to make Seaborn or Vincent interactive?

I've been trying to find a way to make Seaborn and Vincent interactive so that I can, for example, zoom in/out in a specific area of the plot in real time. Is this possible to do? Alternatively, are there other recommended libraries (that are not…
cavs
  • 367
  • 1
  • 3
  • 14
6
votes
2 answers

Easiest way to plot data on country map with python

Could not delete question. Please refer to question: Shade states of a country according to dictionary values with Basemap I want to plot data (number of sick people for a certain year) on each state of Mexico. I am using jupyter notebook. So far…
RM-
  • 986
  • 1
  • 13
  • 30
6
votes
0 answers

Python Vincent world map visualization: How to color each country individually?

Does anybody know how to assign individual colors to countries using vincent's map visualization? In particular, after loading the world map as follows: world_topo="static/custom/world-countries.topo.json" geo_data = [{'name': 'countries', …
MajorYel
  • 379
  • 1
  • 5
  • 10
4
votes
1 answer

How to show pandas data on web page with d3 style graphs?

I have quite a few analysis routines in python with pandas. I would like to get started with putting these online perhaps with d3js. I'm a complete newbie. A few searches revealed packages such as vincent. There seems to be python web development…
mike
  • 143
  • 3
  • 8
3
votes
1 answer

How can a map of Europe be displayed in a Jupyter notebook?

I have a simple pandas DataFrame containing a list of European country names with a score value for each country. I want to display a map of Europe in a Jupyter notebook with each country colored according to that score. I want this map to be a…
BlandCorporation
  • 1,324
  • 1
  • 15
  • 33
3
votes
2 answers

Unable to plot worldmap with Vincent in iPython notebook

This question is probably related to Unable plot with vincent in IPython , although I think it's not exactly the same problem. I can plot a bar chart using Vincent 0.4.4 in an IPython 0.13.1 notebook as in the following example (found in the…
predicador37
  • 229
  • 3
  • 14
3
votes
1 answer

Vincent plots are not showing up, not receiving errors

For some reason I am getting the below when I try and plot something with Vincent: Here's the code: import pandas as pd import vincent data =…
metersk
  • 11,803
  • 21
  • 63
  • 100
3
votes
1 answer

Adding chart title with Vincent/Vega

I am trying to create Vega charts in python using Vincent. Is there a way to add a title to the charts? For some reason I cannot find any chart examples created with Vincent and/or Vega that have a chart title on top. Here is example code from the…
bobfet1
  • 1,603
  • 21
  • 22
2
votes
1 answer

Visualizing pie charts on a map

I have an excel where each row has latitude and longitude data associated with some integer values. I would like to visualize this as pie charts on a map. What I tried so far: Google Data Studio: The only drawback here is that we cannot zoom on…
VSZM
  • 1,341
  • 2
  • 17
  • 31
2
votes
1 answer

Missing States in creating county map visuals using Python3 Vincent Vega

I am using Vincent to plot county level map for US. Took example data for 2016 elctions. It however doesnt plot for some states like California. I have checked data and FIPS codes seems to exist but still showing blank there. Any ideas what may be…
ks2882
  • 191
  • 1
  • 6
2
votes
1 answer

Why Python Vincent map visuzalization does not map data from Data Frame?

I am using Python vincent map visualization with the use of this package introductory examples. I work in ipython notebook. I defined simple pandas DataFrame with country FIPS codes (taken from here). Then I tried to map DataFrame data with vincent…
Marta Karas
  • 4,967
  • 10
  • 47
  • 77
2
votes
1 answer

Unable to display Vincent sample maps; no suggested solutions work

This is the same question as each of these questions, but none of the suggested solutions are working for me. I'm trying to make a US State map in Python with the Vincent package, as shown in this tutorial. I'm using the Canopy editor. When I run…
ale19
  • 1,327
  • 7
  • 23
  • 38
2
votes
2 answers

python vincent needing url address

I'm using vincent a data visualization package. One of the inputs it takes is path to data. (from the documentation) `geo_data` needs to be passed as a list of dicts with the following | format: | { | name: data name | …
chungkim271
  • 927
  • 1
  • 10
  • 20
2
votes
0 answers

Unable to plot using Vincent,

Slightly related to: Unable plot with vincent in IPython, yet none of the suggested solutions work for me. I'm using an IPython Notebook, also the latest version. I'm using python 3.4 and just installed the latest version of Vincent. When I try to…
shogun000
  • 303
  • 1
  • 2
  • 13
2
votes
0 answers

Prevent line smoothing in vicent area chart

I'm plotting a pandas dataframe using python vincent. For each subsequent period, a new group is added, which vincent handles nicely but matplotlib does not. The automatic smoothing in vincent, however, is causing the curves to extend out where data…
A User
  • 812
  • 2
  • 7
  • 21
1
2 3