plotly.figure_factory.create_choropleth() function in Python Last Updated : 26 Jul, 2020 Comments Improve Suggest changes Like Article Like Report Plotly library of Python can be very useful for data visualization and understanding the data simply and easily. plotly.figure_factory.create_choropleth A Choropleth Map is a map composed of colored polygons. It is used to represent spatial variations of a quantity. Syntax: plotly.figure_factory.create_choropleth(fips, values, scope=['usa'], binning_endpoints=None, colorscale=None, order=None, legend_title='', **layout_options) Parameters: fips ((list)) – it describes the list of FIPS values which correspond to the con catination of state and county ids. values ((list)) – These are the values that will determine how the counties are colored. scope ((list)) – it describes the list of states and/or states abbreviations. Fits all states in the camera tightly. binning_endpoints ((list)) – it describes the ascending numbers which implicitly define real number intervals which are used as bins. colorscale ((list)) – it is a list of colors with length equal to the number of categories of colors. Example: Choropleth a few counties in California Python3 import plotly.figure_factory as ff fips = ['06021', '06023', '06027', '06029', '06033', '06059', '06047', '06049', '06051', '06055', '06061'] values = range(len(fips)) fig = ff.create_choropleth(fips=fips, values=values) fig.layout.template = None fig.show() Output: Comment More infoAdvertise with us Next Article plotly.figure_factory.create_choropleth() function in Python D deepanshumehra1410 Follow Improve Article Tags : Python Python-Plotly Practice Tags : python Similar Reads plotly.figure_factory.create_2d_density() function in Python Plotly library of Python can be very useful for data visualization and understanding the data simply and easily. Plotly.figure_factory.create_2d_density This function is used to create 2d density. Syntax: plotly.figure_factory.create_2d_density(x, y, colorscale='Earth', ncontours=20, hist_color=(0, 2 min read bokeh.plotting.figure.cross() function in Python Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, HTML, and server. Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with de 2 min read bokeh.plotting.figure.circle() function in Python Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with 4 min read bokeh.plotting.figure.circle_x() function in Python Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with 4 min read bokeh.plotting.figure.diamond() function in Python Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, HTML and server. Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with def 2 min read bokeh.plotting.figure.step() function in Python Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with 4 min read Matplotlib.axis.Axis.set_figure() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Axis.set_figure() Function The Axis.set_figure() function in ax 2 min read bokeh.plotting.figure.annulus() function in Python Bokeh is a data visualization library in Python that provides high-performance interactive charts and plots and the output can be obtained in various mediums like notebook, html and server. The Figure Class create a new Figure for plotting. It is a subclass of Plot that simplifies plot creation with 4 min read How to Create an Empty Figure with Matplotlib in Python? Creating a figure explicitly is an object-oriented style of interfacing with matplotlib. The figure is a basic building block of creating a plot as Matplotlib graphs our data on figures. This figure keeps track of all other components such as child axes, legends, title, axis, etc. Steps to create an 2 min read Matplotlib.figure.Figure.draw_artist() in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. The figure module provides the top-level Artist, the Figure, which contains all the plot elements. This module is used to control the default spacing of the subplots and top level container for all plot 2 min read Like