Marks & Channels
✓ Published0🌍 Public
This visualization shows the relationship between engine displacement, miles per gallon, horsepower, and country of origin for a sample of automobiles. Using Vega-Lite’s API, it renders a scatterplot where point positions encode displacement and MPG, color encodes origin, and size encodes horsepower, while tooltips reveal additional details. The data is loaded asynchronously via D3’s CSV parser, and the chart is configured with custom axis and label styling for readability.
AI-generated descriptionMarks and Channels
Includes:
- Marks -- Point, Line, Area
- Channels -- Position, Color, Size, Shape
- How to choose marks & channels based on attribute types & tasks
MIT Licensed