Довольно легко, используя flot:
<div id="placeholder" style="width:600px;height:300px;"></div>
<script type="text/javascript">
$(function () {
var someLine = [[0, 1], [10, 1]];
var somePoints = [[2,1],[3,1],[7,1]];
$.plot($("#placeholder"),[
{
data: someLine,
lines: { show: true}
},
{
data: somePoints,
points: { show: true}
}
]);
});
</script>