Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Chennai restaurants

Public visualization

Viewing a saved revision (read-only)

8092d0bea68b4588a0e888de78389b93

Chennai restaurants

0 stars0🌍 Public
AAkanksha
Last edited Jan 23, 2024
Created on Jan 23, 2024

This example reads a CSV of Chennai restaurant data and converts numerical fields like `Price_for_2`, `Dining_Rating`, `Dining_Rating_Count`, and `Delivery_Rating` to numbers. It then displays the first record as a formatted JSON object within a `<pre>` element using the Vega-Lite data loading and export API. The visualization is a static, text-based preview of the dataset, showcasing the raw structure of the data without any graphical encoding. The implementation relies on JavaScript string interpolation to set the font size and inject the JSON string into the container’s HTML.

AI-generated description

The (https://www.kaggle.com/datasets/phiitm/chennai-zomato-restaurants-data), loaded and parsed as CSV.

Tasks I would like to perform - Check the relation between Area and Price Check the relation between price and Cuisine