π Public
Viewing a saved revision (read-only)
db06b5d4140f49df8268f1473b3d24cf
test with d3 basic
This example demonstrates basic D3.js syntax for DOM manipulation and data handling. A static HTML page contains paragraphs styled with pink CSS, and D3 selection methods change paragraph text color to red while table cells turn yellow. The JavaScript also uses D3 functions like `min`, `max`, `sum`, and `mean` on numeric arrays, with output logged to the console. A separate script imports D3 utilities and binds data from a CSV file to page elements, though the visible page shows only the static table and styled paragraphs.
AI-generated descriptionA ε¨η»δΈ of d3js. HTML page demonstrating use of CSS and JavaScript