Giter Site home page Giter Site logo

doctors-by-region's Introduction

All Specialties Doctors Count - Bar Chart Race

This Python script utilizes the pandas, bar_chart_race, and matplotlib libraries to create an animated "Bar Chart Race" graph, illustrating the change in the count of doctors across all specialties over time.

Usage Instructions

  1. Install Dependencies

    Make sure you have all the required libraries installed by running:

    pip install pandas bar_chart_race matplotlib
  2. Run the Script

    Replace 'Arzte.csv' with the actual path to your CSV file, then run the script:

    python your_script_name.py
  3. View the Result

    After the script execution, a video file named arzte_race.mp4 will be created, depicting the change in the count of doctors over time.

Script Parameters

  • title: The title of the graph.
  • orientation: The orientation of the graph ('h' for horizontal, 'v' for vertical).
  • sort: Sorting order of the columns ('asc' for ascending, 'desc' for descending).
  • n_bars: Number of bars to display.
  • steps_per_period: Number of steps (frames) of animation per period.
  • period_length: Duration of each period in milliseconds.
  • filename: Path to save the video.
  • figsize: Figure dimensions.
  • cmap: Color map for the graph.
  • bar_kwargs: Additional parameters for the graph bars.
  • filter_column_colors: Filter column colors.

License

This project is distributed under the MIT License - see the LICENSE file for details.

doctors-by-region's People

Contributors

tyuninaa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.