🌍 Public
Question-3_Task-3
This scatter plot visualizes a dataset with four numerical features, plotting Feature1 on the x-axis and Feature2 on the y-axis while coloring each point by its categorical Target value. The visualization uses D3 v7’s `csv` loader, `scaleLinear` for axes, and `scaleOrdinal` with `schemeCategory10` for color encoding. It renders as an SVG with axis labels, ticks, and a legend-free color mapping, with data fetched from a GitHub Gist. The code also demonstrates importing D3 functions and local ES6 modules.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed
Comments
Sign in to join the discussion.