Creating Dynamic Choropleth Visualizations Using Plotly | by Hari Devanathan | Dec, 2023

Visualizing data is a step that gets overlooked by . It helps us tell stories by analyzing and curating data into a form easy to understand. By removing all the detail and noise and highlighting key information, data scientists can explain the importance of their to non-technical managers and executives.

There are many tools to help visualize data. For years, Microsoft Excel dominated the static visualization market. Over time, we gravitated to visualizations and flexibility to showcase more data in a cleaner manner. Two types of tools helped create dynamic .

  • Intelligence and Analytics Software: Tableau, PowerBI
  • Open-sourced programming libraries: D3.js, Plotly Dash

Third party software tools like Tableau and PowerBI are excellent for non-technical folks. Drag and drop interfaces and abstractions allow analysts to create dynamic dashboards easily. The drawbacks are

  • software tools are expensive
  • a bit of a learning curve to learn these tools
  • limits to visualization ; software may not allow some components

Open-sourced programming libraries are excellent for technical folks. Those comfortable with software engineering can follow the documentation to create flexible dynamic visualizations with ease. Furthermore, these packages are free to use (with Plotly offering a paid version for its enterprise Dash components).

The difference between D3.js and Plotly are the following

  • D3.js is designed in JavaScript, Plotly is designed in
  • D3.js has been around longer than Plotly, and thus has better support and a more mature ecosystem(extensive examples and tutorials).
  • D3.js requires engineers to understand the low-level details of web (HTML, CSS, JavaScript) in order to use it effectively. Plotly abstracts such details in simple-to-use Python classes.
  • D3.js has a steep learning curve due to its JavaScript nature…

Source link