Fork of Fork of Customizing Axes
✓ Published0🌍 Public
This example visualizes feature importance (MDI) for ten economic indicators as a horizontal bar chart, with proportions plotted on the x-axis and feature names on the y-axis. The chart uses d3.scaleLinear and d3.scaleBand to position bars, while d3.axisLeft and d3.axisBottom render axes with gridlines and a custom label. Data is loaded from a CSV file using d3.csv, and the SVG output is generated with React. The title is added as a text element, and the x-axis tick format is commented out.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed