To install Python libraries, use a virtual environment:
python3 -m venv venv
source venv/bin/activate
pip install pandas
For tkinter
, if it's not already installed, you can install it using your package manager. On macOS, you can use Homebrew:
brew install python-tk
Run Example:
python3 csvToJson.py
Important Note: CSV file must be in "Comma delimited UTF-8" Format
Usage:
You can view the graph by converting the created JSON file into an online link and making it the data > url
parameter in the VEGA Editor.
VEGA EDITOR: https://vega.github.io/editor/#/edited