Lab2-Task1
✓ Published1🌍 Public
This example displays a static histogram in an SVG element, showing the distribution of letters from the input string "NguyenXuanVinh" across six alphabetical bins. It uses raw JavaScript and the D3.js v4 library to render blue SVG rectangles of varying heights, each labeled with a bin name such as "A-D" or "V-Z". The code manually computes character ASCII values through a custom function and assigns each letter to a bin, then appends the rectangles to the SVG using standard DOM manipulation, with the chart title and axis labels omitted.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed