Tom
Add Datawrapper chart generation mode with clean iframe display
2a10e9c
raw
history blame contribute delete
535 Bytes
"""Configuration and constants for the Datawrapper MCP server."""
from datawrapper import (
AreaChart,
ArrowChart,
BarChart,
ColumnChart,
LineChart,
MultipleColumnChart,
ScatterPlot,
StackedBarChart,
)
# Map of chart type names to their Pydantic classes
CHART_CLASSES = {
"bar": BarChart,
"line": LineChart,
"area": AreaChart,
"arrow": ArrowChart,
"column": ColumnChart,
"multiple_column": MultipleColumnChart,
"scatter": ScatterPlot,
"stacked_bar": StackedBarChart,
}