Vizro

Vizro

Official
mckinsey

Creates interactive data visualization dashboards through natural language by generating chart code and validating Vizro configurations. Provides PyCafe preview links for immediate visualization testing.

3,592256 views251Local (stdio)

What it does

  • Generate chart code from natural language descriptions
  • Validate dashboard configurations and chart code
  • Load and analyze CSV/JSON data files
  • Create interactive Vizro visualizations
  • Generate PyCafe preview links for dashboards
  • Access sample datasets for testing

Best for

Data analysts building interactive dashboardsTeams prototyping visualizations quicklyUsers wanting code-free chart creationDashboard validation and testing workflows
Natural language to chart generationPyCafe preview integrationBuilt-in configuration validation

Tools (6)

get_vizro_chart_or_dashboard_plan

Get instructions for creating a Vizro chart or dashboard. Call FIRST when asked to create Vizro things. Must be ALWAYS called FIRST with advanced_mode=False, then call again with advanced_mode=True if the JSON config does not suffice anymore. Returns: Instructions for creating a Vizro chart or dashboard

get_model_json_schema

Get the JSON schema for the specified Vizro model. Server Vizro version: 0.1.50

get_sample_data_info

If user provides no data, use this tool to get sample data information. Use the following data for the below purposes: - iris: mostly numerical with one categorical column, good for scatter, histogram, boxplot, etc. - tips: contains mix of numerical and categorical columns, good for bar, pie, etc. - stocks: stock prices, good for line, scatter, generally things that change over time - gapminder: demographic data, good for line, scatter, generally things with maps or many categories Returns: Data info object containing information about the dataset.

load_and_analyze_data

Use to understand local or remote data files. Must be called with absolute paths or URLs. Supported formats: - CSV (.csv) - JSON (.json) - HTML (.html, .htm) - Excel (.xls, .xlsx) - OpenDocument Spreadsheet (.ods) - Parquet (.parquet) Returns: DataAnalysisResults object containing DataFrame information and metadata

validate_dashboard_config

Validate Vizro model configuration. Run ALWAYS when you have a complete dashboard configuration. If successful, the tool will return the python code and, if it is a remote file, the py.cafe link to the chart. The PyCafe link will be automatically opened in your default browser if auto_open is True. Returns: ValidationResults object with status and dashboard details

Alternatives